package com.liveneo.adapter.base.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 行驶证驾驶证信息表 条件工具类
 * 
 * @author fucy
 * @since 2016-06-05
 */
public class PrpmOcrDriverLicenseExample {
    protected String         orderByClause;
    protected boolean        distinct;
    protected List<Criteria> oredCriteria;

    public PrpmOcrDriverLicenseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 行驶证驾驶证信息表
     * 数据库表：prpm_ocr_driver_license
     * 
     * @author fucy
     * @since 2016-06-05
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNull() {
            addCriterion("CaseUuid is null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNotNull() {
            addCriterion("CaseUuid is not null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidEqualTo(String value) {
            addCriterion("CaseUuid =", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotEqualTo(String value) {
            addCriterion("CaseUuid <>", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThan(String value) {
            addCriterion("CaseUuid >", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThanOrEqualTo(String value) {
            addCriterion("CaseUuid >=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThan(String value) {
            addCriterion("CaseUuid <", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThanOrEqualTo(String value) {
            addCriterion("CaseUuid <=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLike(String value) {
            addCriterion("CaseUuid like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotLike(String value) {
            addCriterion("CaseUuid not like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIn(List<String> values) {
            addCriterion("CaseUuid in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotIn(List<String> values) {
            addCriterion("CaseUuid not in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidBetween(String value1, String value2) {
            addCriterion("CaseUuid between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotBetween(String value1, String value2) {
            addCriterion("CaseUuid not between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNull() {
            addCriterion("CaseNo is null");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNotNull() {
            addCriterion("CaseNo is not null");
            return (Criteria) this;
        }

        public Criteria andCaseNoEqualTo(String value) {
            addCriterion("CaseNo =", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotEqualTo(String value) {
            addCriterion("CaseNo <>", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThan(String value) {
            addCriterion("CaseNo >", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThanOrEqualTo(String value) {
            addCriterion("CaseNo >=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThan(String value) {
            addCriterion("CaseNo <", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThanOrEqualTo(String value) {
            addCriterion("CaseNo <=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLike(String value) {
            addCriterion("CaseNo like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotLike(String value) {
            addCriterion("CaseNo not like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoIn(List<String> values) {
            addCriterion("CaseNo in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotIn(List<String> values) {
            addCriterion("CaseNo not in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoBetween(String value1, String value2) {
            addCriterion("CaseNo between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotBetween(String value1, String value2) {
            addCriterion("CaseNo not between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andLossUuidIsNull() {
            addCriterion("LossUuid is null");
            return (Criteria) this;
        }

        public Criteria andLossUuidIsNotNull() {
            addCriterion("LossUuid is not null");
            return (Criteria) this;
        }

        public Criteria andLossUuidEqualTo(String value) {
            addCriterion("LossUuid =", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotEqualTo(String value) {
            addCriterion("LossUuid <>", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidGreaterThan(String value) {
            addCriterion("LossUuid >", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidGreaterThanOrEqualTo(String value) {
            addCriterion("LossUuid >=", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLessThan(String value) {
            addCriterion("LossUuid <", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLessThanOrEqualTo(String value) {
            addCriterion("LossUuid <=", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLike(String value) {
            addCriterion("LossUuid like", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotLike(String value) {
            addCriterion("LossUuid not like", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidIn(List<String> values) {
            addCriterion("LossUuid in", values, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotIn(List<String> values) {
            addCriterion("LossUuid not in", values, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidBetween(String value1, String value2) {
            addCriterion("LossUuid between", value1, value2, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotBetween(String value1, String value2) {
            addCriterion("LossUuid not between", value1, value2, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andObjectNameIsNull() {
            addCriterion("objectName is null");
            return (Criteria) this;
        }

        public Criteria andObjectNameIsNotNull() {
            addCriterion("objectName is not null");
            return (Criteria) this;
        }

        public Criteria andObjectNameEqualTo(String value) {
            addCriterion("objectName =", value, "objectName");
            return (Criteria) this;
        }

        public Criteria andObjectNameNotEqualTo(String value) {
            addCriterion("objectName <>", value, "objectName");
            return (Criteria) this;
        }

        public Criteria andObjectNameGreaterThan(String value) {
            addCriterion("objectName >", value, "objectName");
            return (Criteria) this;
        }

        public Criteria andObjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("objectName >=", value, "objectName");
            return (Criteria) this;
        }

        public Criteria andObjectNameLessThan(String value) {
            addCriterion("objectName <", value, "objectName");
            return (Criteria) this;
        }

        public Criteria andObjectNameLessThanOrEqualTo(String value) {
            addCriterion("objectName <=", value, "objectName");
            return (Criteria) this;
        }

        public Criteria andObjectNameLike(String value) {
            addCriterion("objectName like", value, "objectName");
            return (Criteria) this;
        }

        public Criteria andObjectNameNotLike(String value) {
            addCriterion("objectName not like", value, "objectName");
            return (Criteria) this;
        }

        public Criteria andObjectNameIn(List<String> values) {
            addCriterion("objectName in", values, "objectName");
            return (Criteria) this;
        }

        public Criteria andObjectNameNotIn(List<String> values) {
            addCriterion("objectName not in", values, "objectName");
            return (Criteria) this;
        }

        public Criteria andObjectNameBetween(String value1, String value2) {
            addCriterion("objectName between", value1, value2, "objectName");
            return (Criteria) this;
        }

        public Criteria andObjectNameNotBetween(String value1, String value2) {
            addCriterion("objectName not between", value1, value2, "objectName");
            return (Criteria) this;
        }

        public Criteria andLossTypeIsNull() {
            addCriterion("LossType is null");
            return (Criteria) this;
        }

        public Criteria andLossTypeIsNotNull() {
            addCriterion("LossType is not null");
            return (Criteria) this;
        }

        public Criteria andLossTypeEqualTo(String value) {
            addCriterion("LossType =", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotEqualTo(String value) {
            addCriterion("LossType <>", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeGreaterThan(String value) {
            addCriterion("LossType >", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeGreaterThanOrEqualTo(String value) {
            addCriterion("LossType >=", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLessThan(String value) {
            addCriterion("LossType <", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLessThanOrEqualTo(String value) {
            addCriterion("LossType <=", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLike(String value) {
            addCriterion("LossType like", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotLike(String value) {
            addCriterion("LossType not like", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeIn(List<String> values) {
            addCriterion("LossType in", values, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotIn(List<String> values) {
            addCriterion("LossType not in", values, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeBetween(String value1, String value2) {
            addCriterion("LossType between", value1, value2, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotBetween(String value1, String value2) {
            addCriterion("LossType not between", value1, value2, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossIdIsNull() {
            addCriterion("LossId is null");
            return (Criteria) this;
        }

        public Criteria andLossIdIsNotNull() {
            addCriterion("LossId is not null");
            return (Criteria) this;
        }

        public Criteria andLossIdEqualTo(String value) {
            addCriterion("LossId =", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotEqualTo(String value) {
            addCriterion("LossId <>", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdGreaterThan(String value) {
            addCriterion("LossId >", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdGreaterThanOrEqualTo(String value) {
            addCriterion("LossId >=", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLessThan(String value) {
            addCriterion("LossId <", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLessThanOrEqualTo(String value) {
            addCriterion("LossId <=", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLike(String value) {
            addCriterion("LossId like", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotLike(String value) {
            addCriterion("LossId not like", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdIn(List<String> values) {
            addCriterion("LossId in", values, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotIn(List<String> values) {
            addCriterion("LossId not in", values, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdBetween(String value1, String value2) {
            addCriterion("LossId between", value1, value2, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotBetween(String value1, String value2) {
            addCriterion("LossId not between", value1, value2, "lossId");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseIsNull() {
            addCriterion("DriverLicense is null");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseIsNotNull() {
            addCriterion("DriverLicense is not null");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseEqualTo(String value) {
            addCriterion("DriverLicense =", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseNotEqualTo(String value) {
            addCriterion("DriverLicense <>", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseGreaterThan(String value) {
            addCriterion("DriverLicense >", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseGreaterThanOrEqualTo(String value) {
            addCriterion("DriverLicense >=", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseLessThan(String value) {
            addCriterion("DriverLicense <", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseLessThanOrEqualTo(String value) {
            addCriterion("DriverLicense <=", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseLike(String value) {
            addCriterion("DriverLicense like", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseNotLike(String value) {
            addCriterion("DriverLicense not like", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseIn(List<String> values) {
            addCriterion("DriverLicense in", values, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseNotIn(List<String> values) {
            addCriterion("DriverLicense not in", values, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseBetween(String value1, String value2) {
            addCriterion("DriverLicense between", value1, value2, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseNotBetween(String value1, String value2) {
            addCriterion("DriverLicense not between", value1, value2, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverIsNull() {
            addCriterion("Driver is null");
            return (Criteria) this;
        }

        public Criteria andDriverIsNotNull() {
            addCriterion("Driver is not null");
            return (Criteria) this;
        }

        public Criteria andDriverEqualTo(String value) {
            addCriterion("Driver =", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverNotEqualTo(String value) {
            addCriterion("Driver <>", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverGreaterThan(String value) {
            addCriterion("Driver >", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverGreaterThanOrEqualTo(String value) {
            addCriterion("Driver >=", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverLessThan(String value) {
            addCriterion("Driver <", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverLessThanOrEqualTo(String value) {
            addCriterion("Driver <=", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverLike(String value) {
            addCriterion("Driver like", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverNotLike(String value) {
            addCriterion("Driver not like", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverIn(List<String> values) {
            addCriterion("Driver in", values, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverNotIn(List<String> values) {
            addCriterion("Driver not in", values, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverBetween(String value1, String value2) {
            addCriterion("Driver between", value1, value2, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverNotBetween(String value1, String value2) {
            addCriterion("Driver not between", value1, value2, "driver");
            return (Criteria) this;
        }

        public Criteria andPermDriveIsNull() {
            addCriterion("PermDrive is null");
            return (Criteria) this;
        }

        public Criteria andPermDriveIsNotNull() {
            addCriterion("PermDrive is not null");
            return (Criteria) this;
        }

        public Criteria andPermDriveEqualTo(String value) {
            addCriterion("PermDrive =", value, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveNotEqualTo(String value) {
            addCriterion("PermDrive <>", value, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveGreaterThan(String value) {
            addCriterion("PermDrive >", value, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveGreaterThanOrEqualTo(String value) {
            addCriterion("PermDrive >=", value, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveLessThan(String value) {
            addCriterion("PermDrive <", value, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveLessThanOrEqualTo(String value) {
            addCriterion("PermDrive <=", value, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveLike(String value) {
            addCriterion("PermDrive like", value, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveNotLike(String value) {
            addCriterion("PermDrive not like", value, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveIn(List<String> values) {
            addCriterion("PermDrive in", values, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveNotIn(List<String> values) {
            addCriterion("PermDrive not in", values, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveBetween(String value1, String value2) {
            addCriterion("PermDrive between", value1, value2, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveNotBetween(String value1, String value2) {
            addCriterion("PermDrive not between", value1, value2, "permDrive");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeIsNull() {
            addCriterion("permDriveCode is null");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeIsNotNull() {
            addCriterion("permDriveCode is not null");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeEqualTo(String value) {
            addCriterion("permDriveCode =", value, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeNotEqualTo(String value) {
            addCriterion("permDriveCode <>", value, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeGreaterThan(String value) {
            addCriterion("permDriveCode >", value, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeGreaterThanOrEqualTo(String value) {
            addCriterion("permDriveCode >=", value, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeLessThan(String value) {
            addCriterion("permDriveCode <", value, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeLessThanOrEqualTo(String value) {
            addCriterion("permDriveCode <=", value, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeLike(String value) {
            addCriterion("permDriveCode like", value, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeNotLike(String value) {
            addCriterion("permDriveCode not like", value, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeIn(List<String> values) {
            addCriterion("permDriveCode in", values, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeNotIn(List<String> values) {
            addCriterion("permDriveCode not in", values, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeBetween(String value1, String value2) {
            addCriterion("permDriveCode between", value1, value2, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andPermDriveCodeNotBetween(String value1, String value2) {
            addCriterion("permDriveCode not between", value1, value2, "permDriveCode");
            return (Criteria) this;
        }

        public Criteria andFirstDateIsNull() {
            addCriterion("FirstDate is null");
            return (Criteria) this;
        }

        public Criteria andFirstDateIsNotNull() {
            addCriterion("FirstDate is not null");
            return (Criteria) this;
        }

        public Criteria andFirstDateEqualTo(String value) {
            addCriterion("FirstDate =", value, "firstDate");
            return (Criteria) this;
        }

        public Criteria andFirstDateNotEqualTo(String value) {
            addCriterion("FirstDate <>", value, "firstDate");
            return (Criteria) this;
        }

        public Criteria andFirstDateGreaterThan(String value) {
            addCriterion("FirstDate >", value, "firstDate");
            return (Criteria) this;
        }

        public Criteria andFirstDateGreaterThanOrEqualTo(String value) {
            addCriterion("FirstDate >=", value, "firstDate");
            return (Criteria) this;
        }

        public Criteria andFirstDateLessThan(String value) {
            addCriterion("FirstDate <", value, "firstDate");
            return (Criteria) this;
        }

        public Criteria andFirstDateLessThanOrEqualTo(String value) {
            addCriterion("FirstDate <=", value, "firstDate");
            return (Criteria) this;
        }

        public Criteria andFirstDateLike(String value) {
            addCriterion("FirstDate like", value, "firstDate");
            return (Criteria) this;
        }

        public Criteria andFirstDateNotLike(String value) {
            addCriterion("FirstDate not like", value, "firstDate");
            return (Criteria) this;
        }

        public Criteria andFirstDateIn(List<String> values) {
            addCriterion("FirstDate in", values, "firstDate");
            return (Criteria) this;
        }

        public Criteria andFirstDateNotIn(List<String> values) {
            addCriterion("FirstDate not in", values, "firstDate");
            return (Criteria) this;
        }

        public Criteria andFirstDateBetween(String value1, String value2) {
            addCriterion("FirstDate between", value1, value2, "firstDate");
            return (Criteria) this;
        }

        public Criteria andFirstDateNotBetween(String value1, String value2) {
            addCriterion("FirstDate not between", value1, value2, "firstDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateIsNull() {
            addCriterion("EffectiveDate is null");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateIsNotNull() {
            addCriterion("EffectiveDate is not null");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateEqualTo(String value) {
            addCriterion("EffectiveDate =", value, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateNotEqualTo(String value) {
            addCriterion("EffectiveDate <>", value, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateGreaterThan(String value) {
            addCriterion("EffectiveDate >", value, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateGreaterThanOrEqualTo(String value) {
            addCriterion("EffectiveDate >=", value, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateLessThan(String value) {
            addCriterion("EffectiveDate <", value, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateLessThanOrEqualTo(String value) {
            addCriterion("EffectiveDate <=", value, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateLike(String value) {
            addCriterion("EffectiveDate like", value, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateNotLike(String value) {
            addCriterion("EffectiveDate not like", value, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateIn(List<String> values) {
            addCriterion("EffectiveDate in", values, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateNotIn(List<String> values) {
            addCriterion("EffectiveDate not in", values, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateBetween(String value1, String value2) {
            addCriterion("EffectiveDate between", value1, value2, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andEffectiveDateNotBetween(String value1, String value2) {
            addCriterion("EffectiveDate not between", value1, value2, "effectiveDate");
            return (Criteria) this;
        }

        public Criteria andValidityIsNull() {
            addCriterion("Validity is null");
            return (Criteria) this;
        }

        public Criteria andValidityIsNotNull() {
            addCriterion("Validity is not null");
            return (Criteria) this;
        }

        public Criteria andValidityEqualTo(String value) {
            addCriterion("Validity =", value, "validity");
            return (Criteria) this;
        }

        public Criteria andValidityNotEqualTo(String value) {
            addCriterion("Validity <>", value, "validity");
            return (Criteria) this;
        }

        public Criteria andValidityGreaterThan(String value) {
            addCriterion("Validity >", value, "validity");
            return (Criteria) this;
        }

        public Criteria andValidityGreaterThanOrEqualTo(String value) {
            addCriterion("Validity >=", value, "validity");
            return (Criteria) this;
        }

        public Criteria andValidityLessThan(String value) {
            addCriterion("Validity <", value, "validity");
            return (Criteria) this;
        }

        public Criteria andValidityLessThanOrEqualTo(String value) {
            addCriterion("Validity <=", value, "validity");
            return (Criteria) this;
        }

        public Criteria andValidityLike(String value) {
            addCriterion("Validity like", value, "validity");
            return (Criteria) this;
        }

        public Criteria andValidityNotLike(String value) {
            addCriterion("Validity not like", value, "validity");
            return (Criteria) this;
        }

        public Criteria andValidityIn(List<String> values) {
            addCriterion("Validity in", values, "validity");
            return (Criteria) this;
        }

        public Criteria andValidityNotIn(List<String> values) {
            addCriterion("Validity not in", values, "validity");
            return (Criteria) this;
        }

        public Criteria andValidityBetween(String value1, String value2) {
            addCriterion("Validity between", value1, value2, "validity");
            return (Criteria) this;
        }

        public Criteria andValidityNotBetween(String value1, String value2) {
            addCriterion("Validity not between", value1, value2, "validity");
            return (Criteria) this;
        }

        public Criteria andFileNoIsNull() {
            addCriterion("FileNo is null");
            return (Criteria) this;
        }

        public Criteria andFileNoIsNotNull() {
            addCriterion("FileNo is not null");
            return (Criteria) this;
        }

        public Criteria andFileNoEqualTo(String value) {
            addCriterion("FileNo =", value, "fileNo");
            return (Criteria) this;
        }

        public Criteria andFileNoNotEqualTo(String value) {
            addCriterion("FileNo <>", value, "fileNo");
            return (Criteria) this;
        }

        public Criteria andFileNoGreaterThan(String value) {
            addCriterion("FileNo >", value, "fileNo");
            return (Criteria) this;
        }

        public Criteria andFileNoGreaterThanOrEqualTo(String value) {
            addCriterion("FileNo >=", value, "fileNo");
            return (Criteria) this;
        }

        public Criteria andFileNoLessThan(String value) {
            addCriterion("FileNo <", value, "fileNo");
            return (Criteria) this;
        }

        public Criteria andFileNoLessThanOrEqualTo(String value) {
            addCriterion("FileNo <=", value, "fileNo");
            return (Criteria) this;
        }

        public Criteria andFileNoLike(String value) {
            addCriterion("FileNo like", value, "fileNo");
            return (Criteria) this;
        }

        public Criteria andFileNoNotLike(String value) {
            addCriterion("FileNo not like", value, "fileNo");
            return (Criteria) this;
        }

        public Criteria andFileNoIn(List<String> values) {
            addCriterion("FileNo in", values, "fileNo");
            return (Criteria) this;
        }

        public Criteria andFileNoNotIn(List<String> values) {
            addCriterion("FileNo not in", values, "fileNo");
            return (Criteria) this;
        }

        public Criteria andFileNoBetween(String value1, String value2) {
            addCriterion("FileNo between", value1, value2, "fileNo");
            return (Criteria) this;
        }

        public Criteria andFileNoNotBetween(String value1, String value2) {
            addCriterion("FileNo not between", value1, value2, "fileNo");
            return (Criteria) this;
        }

        public Criteria andLicensePlateIsNull() {
            addCriterion("LicensePlate is null");
            return (Criteria) this;
        }

        public Criteria andLicensePlateIsNotNull() {
            addCriterion("LicensePlate is not null");
            return (Criteria) this;
        }

        public Criteria andLicensePlateEqualTo(String value) {
            addCriterion("LicensePlate =", value, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andLicensePlateNotEqualTo(String value) {
            addCriterion("LicensePlate <>", value, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andLicensePlateGreaterThan(String value) {
            addCriterion("LicensePlate >", value, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andLicensePlateGreaterThanOrEqualTo(String value) {
            addCriterion("LicensePlate >=", value, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andLicensePlateLessThan(String value) {
            addCriterion("LicensePlate <", value, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andLicensePlateLessThanOrEqualTo(String value) {
            addCriterion("LicensePlate <=", value, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andLicensePlateLike(String value) {
            addCriterion("LicensePlate like", value, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andLicensePlateNotLike(String value) {
            addCriterion("LicensePlate not like", value, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andLicensePlateIn(List<String> values) {
            addCriterion("LicensePlate in", values, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andLicensePlateNotIn(List<String> values) {
            addCriterion("LicensePlate not in", values, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andLicensePlateBetween(String value1, String value2) {
            addCriterion("LicensePlate between", value1, value2, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andLicensePlateNotBetween(String value1, String value2) {
            addCriterion("LicensePlate not between", value1, value2, "licensePlate");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeIsNull() {
            addCriterion("DrivingLicType is null");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeIsNotNull() {
            addCriterion("DrivingLicType is not null");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeEqualTo(String value) {
            addCriterion("DrivingLicType =", value, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeNotEqualTo(String value) {
            addCriterion("DrivingLicType <>", value, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeGreaterThan(String value) {
            addCriterion("DrivingLicType >", value, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeGreaterThanOrEqualTo(String value) {
            addCriterion("DrivingLicType >=", value, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeLessThan(String value) {
            addCriterion("DrivingLicType <", value, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeLessThanOrEqualTo(String value) {
            addCriterion("DrivingLicType <=", value, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeLike(String value) {
            addCriterion("DrivingLicType like", value, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeNotLike(String value) {
            addCriterion("DrivingLicType not like", value, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeIn(List<String> values) {
            addCriterion("DrivingLicType in", values, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeNotIn(List<String> values) {
            addCriterion("DrivingLicType not in", values, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeBetween(String value1, String value2) {
            addCriterion("DrivingLicType between", value1, value2, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andDrivingLicTypeNotBetween(String value1, String value2) {
            addCriterion("DrivingLicType not between", value1, value2, "drivingLicType");
            return (Criteria) this;
        }

        public Criteria andTestRecordIsNull() {
            addCriterion("TestRecord is null");
            return (Criteria) this;
        }

        public Criteria andTestRecordIsNotNull() {
            addCriterion("TestRecord is not null");
            return (Criteria) this;
        }

        public Criteria andTestRecordEqualTo(String value) {
            addCriterion("TestRecord =", value, "testRecord");
            return (Criteria) this;
        }

        public Criteria andTestRecordNotEqualTo(String value) {
            addCriterion("TestRecord <>", value, "testRecord");
            return (Criteria) this;
        }

        public Criteria andTestRecordGreaterThan(String value) {
            addCriterion("TestRecord >", value, "testRecord");
            return (Criteria) this;
        }

        public Criteria andTestRecordGreaterThanOrEqualTo(String value) {
            addCriterion("TestRecord >=", value, "testRecord");
            return (Criteria) this;
        }

        public Criteria andTestRecordLessThan(String value) {
            addCriterion("TestRecord <", value, "testRecord");
            return (Criteria) this;
        }

        public Criteria andTestRecordLessThanOrEqualTo(String value) {
            addCriterion("TestRecord <=", value, "testRecord");
            return (Criteria) this;
        }

        public Criteria andTestRecordLike(String value) {
            addCriterion("TestRecord like", value, "testRecord");
            return (Criteria) this;
        }

        public Criteria andTestRecordNotLike(String value) {
            addCriterion("TestRecord not like", value, "testRecord");
            return (Criteria) this;
        }

        public Criteria andTestRecordIn(List<String> values) {
            addCriterion("TestRecord in", values, "testRecord");
            return (Criteria) this;
        }

        public Criteria andTestRecordNotIn(List<String> values) {
            addCriterion("TestRecord not in", values, "testRecord");
            return (Criteria) this;
        }

        public Criteria andTestRecordBetween(String value1, String value2) {
            addCriterion("TestRecord between", value1, value2, "testRecord");
            return (Criteria) this;
        }

        public Criteria andTestRecordNotBetween(String value1, String value2) {
            addCriterion("TestRecord not between", value1, value2, "testRecord");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNull() {
            addCriterion("CarType is null");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNotNull() {
            addCriterion("CarType is not null");
            return (Criteria) this;
        }

        public Criteria andCarTypeEqualTo(String value) {
            addCriterion("CarType =", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotEqualTo(String value) {
            addCriterion("CarType <>", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThan(String value) {
            addCriterion("CarType >", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThanOrEqualTo(String value) {
            addCriterion("CarType >=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThan(String value) {
            addCriterion("CarType <", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThanOrEqualTo(String value) {
            addCriterion("CarType <=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLike(String value) {
            addCriterion("CarType like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotLike(String value) {
            addCriterion("CarType not like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeIn(List<String> values) {
            addCriterion("CarType in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotIn(List<String> values) {
            addCriterion("CarType not in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeBetween(String value1, String value2) {
            addCriterion("CarType between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotBetween(String value1, String value2) {
            addCriterion("CarType not between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeIsNull() {
            addCriterion("carTypeCode is null");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeIsNotNull() {
            addCriterion("carTypeCode is not null");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeEqualTo(String value) {
            addCriterion("carTypeCode =", value, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeNotEqualTo(String value) {
            addCriterion("carTypeCode <>", value, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeGreaterThan(String value) {
            addCriterion("carTypeCode >", value, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeGreaterThanOrEqualTo(String value) {
            addCriterion("carTypeCode >=", value, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeLessThan(String value) {
            addCriterion("carTypeCode <", value, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeLessThanOrEqualTo(String value) {
            addCriterion("carTypeCode <=", value, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeLike(String value) {
            addCriterion("carTypeCode like", value, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeNotLike(String value) {
            addCriterion("carTypeCode not like", value, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeIn(List<String> values) {
            addCriterion("carTypeCode in", values, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeNotIn(List<String> values) {
            addCriterion("carTypeCode not in", values, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeBetween(String value1, String value2) {
            addCriterion("carTypeCode between", value1, value2, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andCarTypeCodeNotBetween(String value1, String value2) {
            addCriterion("carTypeCode not between", value1, value2, "carTypeCode");
            return (Criteria) this;
        }

        public Criteria andBandModelIsNull() {
            addCriterion("BandModel is null");
            return (Criteria) this;
        }

        public Criteria andBandModelIsNotNull() {
            addCriterion("BandModel is not null");
            return (Criteria) this;
        }

        public Criteria andBandModelEqualTo(String value) {
            addCriterion("BandModel =", value, "bandModel");
            return (Criteria) this;
        }

        public Criteria andBandModelNotEqualTo(String value) {
            addCriterion("BandModel <>", value, "bandModel");
            return (Criteria) this;
        }

        public Criteria andBandModelGreaterThan(String value) {
            addCriterion("BandModel >", value, "bandModel");
            return (Criteria) this;
        }

        public Criteria andBandModelGreaterThanOrEqualTo(String value) {
            addCriterion("BandModel >=", value, "bandModel");
            return (Criteria) this;
        }

        public Criteria andBandModelLessThan(String value) {
            addCriterion("BandModel <", value, "bandModel");
            return (Criteria) this;
        }

        public Criteria andBandModelLessThanOrEqualTo(String value) {
            addCriterion("BandModel <=", value, "bandModel");
            return (Criteria) this;
        }

        public Criteria andBandModelLike(String value) {
            addCriterion("BandModel like", value, "bandModel");
            return (Criteria) this;
        }

        public Criteria andBandModelNotLike(String value) {
            addCriterion("BandModel not like", value, "bandModel");
            return (Criteria) this;
        }

        public Criteria andBandModelIn(List<String> values) {
            addCriterion("BandModel in", values, "bandModel");
            return (Criteria) this;
        }

        public Criteria andBandModelNotIn(List<String> values) {
            addCriterion("BandModel not in", values, "bandModel");
            return (Criteria) this;
        }

        public Criteria andBandModelBetween(String value1, String value2) {
            addCriterion("BandModel between", value1, value2, "bandModel");
            return (Criteria) this;
        }

        public Criteria andBandModelNotBetween(String value1, String value2) {
            addCriterion("BandModel not between", value1, value2, "bandModel");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationIsNull() {
            addCriterion("CarIdentification is null");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationIsNotNull() {
            addCriterion("CarIdentification is not null");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationEqualTo(String value) {
            addCriterion("CarIdentification =", value, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationNotEqualTo(String value) {
            addCriterion("CarIdentification <>", value, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationGreaterThan(String value) {
            addCriterion("CarIdentification >", value, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationGreaterThanOrEqualTo(String value) {
            addCriterion("CarIdentification >=", value, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationLessThan(String value) {
            addCriterion("CarIdentification <", value, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationLessThanOrEqualTo(String value) {
            addCriterion("CarIdentification <=", value, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationLike(String value) {
            addCriterion("CarIdentification like", value, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationNotLike(String value) {
            addCriterion("CarIdentification not like", value, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationIn(List<String> values) {
            addCriterion("CarIdentification in", values, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationNotIn(List<String> values) {
            addCriterion("CarIdentification not in", values, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationBetween(String value1, String value2) {
            addCriterion("CarIdentification between", value1, value2, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andCarIdentificationNotBetween(String value1, String value2) {
            addCriterion("CarIdentification not between", value1, value2, "carIdentification");
            return (Criteria) this;
        }

        public Criteria andEngineCodeIsNull() {
            addCriterion("EngineCode is null");
            return (Criteria) this;
        }

        public Criteria andEngineCodeIsNotNull() {
            addCriterion("EngineCode is not null");
            return (Criteria) this;
        }

        public Criteria andEngineCodeEqualTo(String value) {
            addCriterion("EngineCode =", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeNotEqualTo(String value) {
            addCriterion("EngineCode <>", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeGreaterThan(String value) {
            addCriterion("EngineCode >", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeGreaterThanOrEqualTo(String value) {
            addCriterion("EngineCode >=", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeLessThan(String value) {
            addCriterion("EngineCode <", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeLessThanOrEqualTo(String value) {
            addCriterion("EngineCode <=", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeLike(String value) {
            addCriterion("EngineCode like", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeNotLike(String value) {
            addCriterion("EngineCode not like", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeIn(List<String> values) {
            addCriterion("EngineCode in", values, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeNotIn(List<String> values) {
            addCriterion("EngineCode not in", values, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeBetween(String value1, String value2) {
            addCriterion("EngineCode between", value1, value2, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeNotBetween(String value1, String value2) {
            addCriterion("EngineCode not between", value1, value2, "engineCode");
            return (Criteria) this;
        }

        public Criteria andRegistDateIsNull() {
            addCriterion("registDate is null");
            return (Criteria) this;
        }

        public Criteria andRegistDateIsNotNull() {
            addCriterion("registDate is not null");
            return (Criteria) this;
        }

        public Criteria andRegistDateEqualTo(String value) {
            addCriterion("registDate =", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateNotEqualTo(String value) {
            addCriterion("registDate <>", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateGreaterThan(String value) {
            addCriterion("registDate >", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateGreaterThanOrEqualTo(String value) {
            addCriterion("registDate >=", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateLessThan(String value) {
            addCriterion("registDate <", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateLessThanOrEqualTo(String value) {
            addCriterion("registDate <=", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateLike(String value) {
            addCriterion("registDate like", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateNotLike(String value) {
            addCriterion("registDate not like", value, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateIn(List<String> values) {
            addCriterion("registDate in", values, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateNotIn(List<String> values) {
            addCriterion("registDate not in", values, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateBetween(String value1, String value2) {
            addCriterion("registDate between", value1, value2, "registDate");
            return (Criteria) this;
        }

        public Criteria andRegistDateNotBetween(String value1, String value2) {
            addCriterion("registDate not between", value1, value2, "registDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateIsNull() {
            addCriterion("issueDate is null");
            return (Criteria) this;
        }

        public Criteria andIssueDateIsNotNull() {
            addCriterion("issueDate is not null");
            return (Criteria) this;
        }

        public Criteria andIssueDateEqualTo(String value) {
            addCriterion("issueDate =", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateNotEqualTo(String value) {
            addCriterion("issueDate <>", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateGreaterThan(String value) {
            addCriterion("issueDate >", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateGreaterThanOrEqualTo(String value) {
            addCriterion("issueDate >=", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateLessThan(String value) {
            addCriterion("issueDate <", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateLessThanOrEqualTo(String value) {
            addCriterion("issueDate <=", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateLike(String value) {
            addCriterion("issueDate like", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateNotLike(String value) {
            addCriterion("issueDate not like", value, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateIn(List<String> values) {
            addCriterion("issueDate in", values, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateNotIn(List<String> values) {
            addCriterion("issueDate not in", values, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateBetween(String value1, String value2) {
            addCriterion("issueDate between", value1, value2, "issueDate");
            return (Criteria) this;
        }

        public Criteria andIssueDateNotBetween(String value1, String value2) {
            addCriterion("issueDate not between", value1, value2, "issueDate");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesIsNull() {
            addCriterion("InfoSources is null");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesIsNotNull() {
            addCriterion("InfoSources is not null");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesEqualTo(String value) {
            addCriterion("InfoSources =", value, "infoSources");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesNotEqualTo(String value) {
            addCriterion("InfoSources <>", value, "infoSources");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesGreaterThan(String value) {
            addCriterion("InfoSources >", value, "infoSources");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesGreaterThanOrEqualTo(String value) {
            addCriterion("InfoSources >=", value, "infoSources");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesLessThan(String value) {
            addCriterion("InfoSources <", value, "infoSources");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesLessThanOrEqualTo(String value) {
            addCriterion("InfoSources <=", value, "infoSources");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesLike(String value) {
            addCriterion("InfoSources like", value, "infoSources");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesNotLike(String value) {
            addCriterion("InfoSources not like", value, "infoSources");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesIn(List<String> values) {
            addCriterion("InfoSources in", values, "infoSources");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesNotIn(List<String> values) {
            addCriterion("InfoSources not in", values, "infoSources");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesBetween(String value1, String value2) {
            addCriterion("InfoSources between", value1, value2, "infoSources");
            return (Criteria) this;
        }

        public Criteria andInfoSourcesNotBetween(String value1, String value2) {
            addCriterion("InfoSources not between", value1, value2, "infoSources");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andN1IsNull() {
            addCriterion("n1 is null");
            return (Criteria) this;
        }

        public Criteria andN1IsNotNull() {
            addCriterion("n1 is not null");
            return (Criteria) this;
        }

        public Criteria andN1EqualTo(String value) {
            addCriterion("n1 =", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotEqualTo(String value) {
            addCriterion("n1 <>", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThan(String value) {
            addCriterion("n1 >", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThanOrEqualTo(String value) {
            addCriterion("n1 >=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThan(String value) {
            addCriterion("n1 <", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThanOrEqualTo(String value) {
            addCriterion("n1 <=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Like(String value) {
            addCriterion("n1 like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotLike(String value) {
            addCriterion("n1 not like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1In(List<String> values) {
            addCriterion("n1 in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotIn(List<String> values) {
            addCriterion("n1 not in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Between(String value1, String value2) {
            addCriterion("n1 between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotBetween(String value1, String value2) {
            addCriterion("n1 not between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN2IsNull() {
            addCriterion("n2 is null");
            return (Criteria) this;
        }

        public Criteria andN2IsNotNull() {
            addCriterion("n2 is not null");
            return (Criteria) this;
        }

        public Criteria andN2EqualTo(String value) {
            addCriterion("n2 =", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotEqualTo(String value) {
            addCriterion("n2 <>", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThan(String value) {
            addCriterion("n2 >", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThanOrEqualTo(String value) {
            addCriterion("n2 >=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThan(String value) {
            addCriterion("n2 <", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThanOrEqualTo(String value) {
            addCriterion("n2 <=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Like(String value) {
            addCriterion("n2 like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotLike(String value) {
            addCriterion("n2 not like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2In(List<String> values) {
            addCriterion("n2 in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotIn(List<String> values) {
            addCriterion("n2 not in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Between(String value1, String value2) {
            addCriterion("n2 between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotBetween(String value1, String value2) {
            addCriterion("n2 not between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN3IsNull() {
            addCriterion("n3 is null");
            return (Criteria) this;
        }

        public Criteria andN3IsNotNull() {
            addCriterion("n3 is not null");
            return (Criteria) this;
        }

        public Criteria andN3EqualTo(String value) {
            addCriterion("n3 =", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotEqualTo(String value) {
            addCriterion("n3 <>", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThan(String value) {
            addCriterion("n3 >", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThanOrEqualTo(String value) {
            addCriterion("n3 >=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThan(String value) {
            addCriterion("n3 <", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThanOrEqualTo(String value) {
            addCriterion("n3 <=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Like(String value) {
            addCriterion("n3 like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotLike(String value) {
            addCriterion("n3 not like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3In(List<String> values) {
            addCriterion("n3 in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotIn(List<String> values) {
            addCriterion("n3 not in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Between(String value1, String value2) {
            addCriterion("n3 between", value1, value2, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotBetween(String value1, String value2) {
            addCriterion("n3 not between", value1, value2, "n3");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table prpm_ocr_driver_license
     *
     * @mbggenerated do_not_delete_during_merge Tue Jun 07 10:21:44 CST 2016
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
     * 行驶证驾驶证信息表
     * 数据库表：prpm_ocr_driver_license
     * 
     * @author fucy
     * @since 2016-06-05
     */
    public static class Criterion {
        private String  condition;
        private Object  value;
        private Object  secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String  typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}